package com.tb.dubbo_service;

import com.tb.dubbo.InatureService;
import com.tb.mapper.NatureMapper;
import com.tb.pojo.Nature;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @创建人 lxq
 * @创建时间 2019/1/11
 * @查询商品规格参数
 */
@Service
public class NatureServiceImpl implements InatureService {
    @Autowired
    private NatureMapper natureMapper;
    /*查询商品规格参数*/
    @Override
    public List<Nature> getNatures(Map<String,Object> map) {
        return natureMapper.selectNatureByGoodsId(map);
    }
}
